package com.teamall.web.tssy.db.arg;

import java.util.*;
import java.math.*;
import org.apache.commons.lang.*;

public class TsSyThirdArg {
    private String pk_name = "ID";

    private String orderByClause;

    private String groupByClause;

    private String columns;

    private String countsql1;

    private String countsql2;

    private boolean distinct;

    private int rowStart = 0;

    private int rowEnd = 10;

    private List<TsSyThirdCriteria> oredCriteria;

    public TsSyThirdArg() {
        oredCriteria = new ArrayList<TsSyThirdCriteria>();
    }

    public void setPk_name(String pk_name) {
        this.pk_name = StringEscapeUtils.escapeSql(pk_name);
    }

    public String getPk_name() {
        return pk_name;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = StringEscapeUtils.escapeSql(orderByClause);
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause = StringEscapeUtils.escapeSql(groupByClause);
    }

    public String geGroupByClause() {
        return groupByClause;
    }

    public void setColumns(String columns) {
        this.columns = StringEscapeUtils.escapeSql(columns);
    }

    public String geColumns() {
        return columns;
    }

    public void setCountsql1(String countsql1) {
        this.countsql1 = StringEscapeUtils.escapeSql(countsql1);
    }

    public String geCountsql1() {
        return countsql1;
    }

    public void setCountsql2(String countsql2) {
        this.countsql2 = StringEscapeUtils.escapeSql(countsql2);
    }

    public String geCountsql2() {
        return countsql2;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public void setRowStart(int rowStart) {
        this.rowStart = rowStart;
    }

    public void setRowEnd(int rowEnd) {
        this.rowEnd = rowEnd;
    }

    public int getRowStart() {
        return rowStart;
    }

    public int getRowEnd() {
        return rowEnd;
    }

    public List<TsSyThirdCriteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(TsSyThirdCriteria criteria) {
        oredCriteria.add(criteria);
    }

    public TsSyThirdCriteria or() {
    	TsSyThirdCriteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public TsSyThirdCriteria createCriteria() {
    	TsSyThirdCriteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected TsSyThirdCriteria createCriteriaInternal() {
    	TsSyThirdCriteria criteria = new TsSyThirdCriteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        groupByClause = null;
        columns = null;
        countsql1 = null;
        countsql2 = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<TsSyThirdCriterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<TsSyThirdCriterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<TsSyThirdCriterion> getAllCriteria() {
            return criteria;
        }

        public List<TsSyThirdCriterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new TsSyThirdCriterion(condition));
        }

        protected void addCriterion(String condition, Object value,
                String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new TsSyThirdCriterion(condition, value));
        }

        protected void addCriterion(String condition, Object value,
                String property, int likeType) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new TsSyThirdCriterion(condition, value, likeType));
        }

        protected void addCriterion(String condition, Object value1,
                Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property
                        + " cannot be null");
            }
            criteria.add(new TsSyThirdCriterion(condition, value1, value2));
        }

        public TsSyThirdCriteria andCriterionEqualTo(String criterion) {
            if (StringUtils.isBlank(criterion)) {
                criterion = "1=1";
            }
            addCriterion(criterion);
            return (TsSyThirdCriteria) this;
        }
        public TsSyThirdCriteria andIdIsNull() {
            addCriterion("ID is null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "ID");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "ID");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "ID");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "ID");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIdLessThan(String value) {
            addCriterion("ID <", value, "ID");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "ID");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIdLike(String value) {
            addCriterion("ID like ", value, "ID", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIdNotLike(String value) {
            addCriterion("ID  not like ", value, "ID", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIdLeftLike(String value) {
            addCriterion("ID like ", value, "ID", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIdNotLeftLike(String value) {
            addCriterion("ID  not like ", value, "ID", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIdRightLike(String value) {
            addCriterion("ID like ", value, "ID", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIdNotRightLike(String value) {
            addCriterion("ID  not like ", value, "ID", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIdIn(List<String> values) {
            addCriterion("ID  in ", values, "ID");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIdNotIn(List<String> values) {
            addCriterion("ID not in ", values, "ID");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIdBetween(String value1, String value2) {
            addCriterion("ID between ", value1, value2, "ID");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between ", value1, value2, "ID");
            return (TsSyThirdCriteria) this;
        }
        public TsSyThirdCriteria andPayNameIsNull() {
            addCriterion("PAY_NAME is null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayNameIsNotNull() {
            addCriterion("PAY_NAME is not null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayNameEqualTo(String value) {
            addCriterion("PAY_NAME =", value, "PAY_NAME");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayNameNotEqualTo(String value) {
            addCriterion("PAY_NAME <>", value, "PAY_NAME");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayNameGreaterThan(String value) {
            addCriterion("PAY_NAME >", value, "PAY_NAME");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayNameGreaterThanOrEqualTo(String value) {
            addCriterion("PAY_NAME >=", value, "PAY_NAME");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayNameLessThan(String value) {
            addCriterion("PAY_NAME <", value, "PAY_NAME");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayNameLessThanOrEqualTo(String value) {
            addCriterion("PAY_NAME <=", value, "PAY_NAME");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayNameLike(String value) {
            addCriterion("PAY_NAME like ", value, "PAY_NAME", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayNameNotLike(String value) {
            addCriterion("PAY_NAME  not like ", value, "PAY_NAME", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayNameLeftLike(String value) {
            addCriterion("PAY_NAME like ", value, "PAY_NAME", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayNameNotLeftLike(String value) {
            addCriterion("PAY_NAME  not like ", value, "PAY_NAME", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayNameRightLike(String value) {
            addCriterion("PAY_NAME like ", value, "PAY_NAME", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayNameNotRightLike(String value) {
            addCriterion("PAY_NAME  not like ", value, "PAY_NAME", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayNameIn(List<String> values) {
            addCriterion("PAY_NAME  in ", values, "PAY_NAME");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayNameNotIn(List<String> values) {
            addCriterion("PAY_NAME not in ", values, "PAY_NAME");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayNameBetween(String value1, String value2) {
            addCriterion("PAY_NAME between ", value1, value2, "PAY_NAME");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayNameNotBetween(String value1, String value2) {
            addCriterion("PAY_NAME not between ", value1, value2, "PAY_NAME");
            return (TsSyThirdCriteria) this;
        }
        public TsSyThirdCriteria andPayCodeIsNull() {
            addCriterion("PAY_CODE is null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayCodeIsNotNull() {
            addCriterion("PAY_CODE is not null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayCodeEqualTo(String value) {
            addCriterion("PAY_CODE =", value, "PAY_CODE");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayCodeNotEqualTo(String value) {
            addCriterion("PAY_CODE <>", value, "PAY_CODE");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayCodeGreaterThan(String value) {
            addCriterion("PAY_CODE >", value, "PAY_CODE");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayCodeGreaterThanOrEqualTo(String value) {
            addCriterion("PAY_CODE >=", value, "PAY_CODE");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayCodeLessThan(String value) {
            addCriterion("PAY_CODE <", value, "PAY_CODE");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayCodeLessThanOrEqualTo(String value) {
            addCriterion("PAY_CODE <=", value, "PAY_CODE");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayCodeLike(String value) {
            addCriterion("PAY_CODE like ", value, "PAY_CODE", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayCodeNotLike(String value) {
            addCriterion("PAY_CODE  not like ", value, "PAY_CODE", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayCodeLeftLike(String value) {
            addCriterion("PAY_CODE like ", value, "PAY_CODE", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayCodeNotLeftLike(String value) {
            addCriterion("PAY_CODE  not like ", value, "PAY_CODE", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayCodeRightLike(String value) {
            addCriterion("PAY_CODE like ", value, "PAY_CODE", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayCodeNotRightLike(String value) {
            addCriterion("PAY_CODE  not like ", value, "PAY_CODE", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayCodeIn(List<String> values) {
            addCriterion("PAY_CODE  in ", values, "PAY_CODE");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayCodeNotIn(List<String> values) {
            addCriterion("PAY_CODE not in ", values, "PAY_CODE");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayCodeBetween(String value1, String value2) {
            addCriterion("PAY_CODE between ", value1, value2, "PAY_CODE");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPayCodeNotBetween(String value1, String value2) {
            addCriterion("PAY_CODE not between ", value1, value2, "PAY_CODE");
            return (TsSyThirdCriteria) this;
        }
        public TsSyThirdCriteria andSortIsNull() {
            addCriterion("SORT is null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andSortIsNotNull() {
            addCriterion("SORT is not null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andSortEqualTo(Integer value) {
            addCriterion("SORT =", value, "SORT");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andSortNotEqualTo(Integer value) {
            addCriterion("SORT <>", value, "SORT");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andSortGreaterThan(Integer value) {
            addCriterion("SORT >", value, "SORT");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andSortGreaterThanOrEqualTo(Integer value) {
            addCriterion("SORT >=", value, "SORT");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andSortLessThan(Integer value) {
            addCriterion("SORT <", value, "SORT");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andSortLessThanOrEqualTo(Integer value) {
            addCriterion("SORT <=", value, "SORT");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andSortLike(Integer value) {
            addCriterion("SORT like ", value, "SORT", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andSortNotLike(Integer value) {
            addCriterion("SORT  not like ", value, "SORT", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andSortLeftLike(Integer value) {
            addCriterion("SORT like ", value, "SORT", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andSortNotLeftLike(Integer value) {
            addCriterion("SORT  not like ", value, "SORT", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andSortRightLike(Integer value) {
            addCriterion("SORT like ", value, "SORT", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andSortNotRightLike(Integer value) {
            addCriterion("SORT  not like ", value, "SORT", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andSortIn(List<Integer> values) {
            addCriterion("SORT  in ", values, "SORT");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andSortNotIn(List<Integer> values) {
            addCriterion("SORT not in ", values, "SORT");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andSortBetween(Integer value1, Integer value2) {
            addCriterion("SORT between ", value1, value2, "SORT");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andSortNotBetween(Integer value1, Integer value2) {
            addCriterion("SORT not between ", value1, value2, "SORT");
            return (TsSyThirdCriteria) this;
        }
        public TsSyThirdCriteria andPlatformAccountIsNull() {
            addCriterion("PLATFORM_ACCOUNT is null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPlatformAccountIsNotNull() {
            addCriterion("PLATFORM_ACCOUNT is not null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPlatformAccountEqualTo(String value) {
            addCriterion("PLATFORM_ACCOUNT =", value, "PLATFORM_ACCOUNT");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPlatformAccountNotEqualTo(String value) {
            addCriterion("PLATFORM_ACCOUNT <>", value, "PLATFORM_ACCOUNT");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPlatformAccountGreaterThan(String value) {
            addCriterion("PLATFORM_ACCOUNT >", value, "PLATFORM_ACCOUNT");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPlatformAccountGreaterThanOrEqualTo(String value) {
            addCriterion("PLATFORM_ACCOUNT >=", value, "PLATFORM_ACCOUNT");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPlatformAccountLessThan(String value) {
            addCriterion("PLATFORM_ACCOUNT <", value, "PLATFORM_ACCOUNT");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPlatformAccountLessThanOrEqualTo(String value) {
            addCriterion("PLATFORM_ACCOUNT <=", value, "PLATFORM_ACCOUNT");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPlatformAccountLike(String value) {
            addCriterion("PLATFORM_ACCOUNT like ", value, "PLATFORM_ACCOUNT", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPlatformAccountNotLike(String value) {
            addCriterion("PLATFORM_ACCOUNT  not like ", value, "PLATFORM_ACCOUNT", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPlatformAccountLeftLike(String value) {
            addCriterion("PLATFORM_ACCOUNT like ", value, "PLATFORM_ACCOUNT", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPlatformAccountNotLeftLike(String value) {
            addCriterion("PLATFORM_ACCOUNT  not like ", value, "PLATFORM_ACCOUNT", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPlatformAccountRightLike(String value) {
            addCriterion("PLATFORM_ACCOUNT like ", value, "PLATFORM_ACCOUNT", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPlatformAccountNotRightLike(String value) {
            addCriterion("PLATFORM_ACCOUNT  not like ", value, "PLATFORM_ACCOUNT", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPlatformAccountIn(List<String> values) {
            addCriterion("PLATFORM_ACCOUNT  in ", values, "PLATFORM_ACCOUNT");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPlatformAccountNotIn(List<String> values) {
            addCriterion("PLATFORM_ACCOUNT not in ", values, "PLATFORM_ACCOUNT");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPlatformAccountBetween(String value1, String value2) {
            addCriterion("PLATFORM_ACCOUNT between ", value1, value2, "PLATFORM_ACCOUNT");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPlatformAccountNotBetween(String value1, String value2) {
            addCriterion("PLATFORM_ACCOUNT not between ", value1, value2, "PLATFORM_ACCOUNT");
            return (TsSyThirdCriteria) this;
        }
        public TsSyThirdCriteria andPartnerIsNull() {
            addCriterion("PARTNER is null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPartnerIsNotNull() {
            addCriterion("PARTNER is not null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPartnerEqualTo(String value) {
            addCriterion("PARTNER =", value, "PARTNER");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPartnerNotEqualTo(String value) {
            addCriterion("PARTNER <>", value, "PARTNER");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPartnerGreaterThan(String value) {
            addCriterion("PARTNER >", value, "PARTNER");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPartnerGreaterThanOrEqualTo(String value) {
            addCriterion("PARTNER >=", value, "PARTNER");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPartnerLessThan(String value) {
            addCriterion("PARTNER <", value, "PARTNER");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPartnerLessThanOrEqualTo(String value) {
            addCriterion("PARTNER <=", value, "PARTNER");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPartnerLike(String value) {
            addCriterion("PARTNER like ", value, "PARTNER", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPartnerNotLike(String value) {
            addCriterion("PARTNER  not like ", value, "PARTNER", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPartnerLeftLike(String value) {
            addCriterion("PARTNER like ", value, "PARTNER", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPartnerNotLeftLike(String value) {
            addCriterion("PARTNER  not like ", value, "PARTNER", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPartnerRightLike(String value) {
            addCriterion("PARTNER like ", value, "PARTNER", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPartnerNotRightLike(String value) {
            addCriterion("PARTNER  not like ", value, "PARTNER", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPartnerIn(List<String> values) {
            addCriterion("PARTNER  in ", values, "PARTNER");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPartnerNotIn(List<String> values) {
            addCriterion("PARTNER not in ", values, "PARTNER");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPartnerBetween(String value1, String value2) {
            addCriterion("PARTNER between ", value1, value2, "PARTNER");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andPartnerNotBetween(String value1, String value2) {
            addCriterion("PARTNER not between ", value1, value2, "PARTNER");
            return (TsSyThirdCriteria) this;
        }
        public TsSyThirdCriteria andThirdKeyIsNull() {
            addCriterion("THIRD_KEY is null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andThirdKeyIsNotNull() {
            addCriterion("THIRD_KEY is not null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andThirdKeyEqualTo(String value) {
            addCriterion("THIRD_KEY =", value, "THIRD_KEY");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andThirdKeyNotEqualTo(String value) {
            addCriterion("THIRD_KEY <>", value, "THIRD_KEY");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andThirdKeyGreaterThan(String value) {
            addCriterion("THIRD_KEY >", value, "THIRD_KEY");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andThirdKeyGreaterThanOrEqualTo(String value) {
            addCriterion("THIRD_KEY >=", value, "THIRD_KEY");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andThirdKeyLessThan(String value) {
            addCriterion("THIRD_KEY <", value, "THIRD_KEY");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andThirdKeyLessThanOrEqualTo(String value) {
            addCriterion("THIRD_KEY <=", value, "THIRD_KEY");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andThirdKeyLike(String value) {
            addCriterion("THIRD_KEY like ", value, "THIRD_KEY", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andThirdKeyNotLike(String value) {
            addCriterion("THIRD_KEY  not like ", value, "THIRD_KEY", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andThirdKeyLeftLike(String value) {
            addCriterion("THIRD_KEY like ", value, "THIRD_KEY", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andThirdKeyNotLeftLike(String value) {
            addCriterion("THIRD_KEY  not like ", value, "THIRD_KEY", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andThirdKeyRightLike(String value) {
            addCriterion("THIRD_KEY like ", value, "THIRD_KEY", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andThirdKeyNotRightLike(String value) {
            addCriterion("THIRD_KEY  not like ", value, "THIRD_KEY", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andThirdKeyIn(List<String> values) {
            addCriterion("THIRD_KEY  in ", values, "THIRD_KEY");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andThirdKeyNotIn(List<String> values) {
            addCriterion("THIRD_KEY not in ", values, "THIRD_KEY");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andThirdKeyBetween(String value1, String value2) {
            addCriterion("THIRD_KEY between ", value1, value2, "THIRD_KEY");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andThirdKeyNotBetween(String value1, String value2) {
            addCriterion("THIRD_KEY not between ", value1, value2, "THIRD_KEY");
            return (TsSyThirdCriteria) this;
        }
        public TsSyThirdCriteria andCreateByIsNull() {
            addCriterion("CREATE_BY is null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateByIsNotNull() {
            addCriterion("CREATE_BY is not null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateByEqualTo(String value) {
            addCriterion("CREATE_BY =", value, "CREATE_BY");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateByNotEqualTo(String value) {
            addCriterion("CREATE_BY <>", value, "CREATE_BY");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateByGreaterThan(String value) {
            addCriterion("CREATE_BY >", value, "CREATE_BY");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("CREATE_BY >=", value, "CREATE_BY");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateByLessThan(String value) {
            addCriterion("CREATE_BY <", value, "CREATE_BY");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateByLessThanOrEqualTo(String value) {
            addCriterion("CREATE_BY <=", value, "CREATE_BY");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateByLike(String value) {
            addCriterion("CREATE_BY like ", value, "CREATE_BY", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateByNotLike(String value) {
            addCriterion("CREATE_BY  not like ", value, "CREATE_BY", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateByLeftLike(String value) {
            addCriterion("CREATE_BY like ", value, "CREATE_BY", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateByNotLeftLike(String value) {
            addCriterion("CREATE_BY  not like ", value, "CREATE_BY", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateByRightLike(String value) {
            addCriterion("CREATE_BY like ", value, "CREATE_BY", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateByNotRightLike(String value) {
            addCriterion("CREATE_BY  not like ", value, "CREATE_BY", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateByIn(List<String> values) {
            addCriterion("CREATE_BY  in ", values, "CREATE_BY");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateByNotIn(List<String> values) {
            addCriterion("CREATE_BY not in ", values, "CREATE_BY");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateByBetween(String value1, String value2) {
            addCriterion("CREATE_BY between ", value1, value2, "CREATE_BY");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateByNotBetween(String value1, String value2) {
            addCriterion("CREATE_BY not between ", value1, value2, "CREATE_BY");
            return (TsSyThirdCriteria) this;
        }
        public TsSyThirdCriteria andCreateTimeIsNull() {
            addCriterion("CREATE_TIME is null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateTimeIsNotNull() {
            addCriterion("CREATE_TIME is not null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateTimeEqualTo(Date value) {
            addCriterion("CREATE_TIME =", value, "CREATE_TIME");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("CREATE_TIME <>", value, "CREATE_TIME");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateTimeGreaterThan(Date value) {
            addCriterion("CREATE_TIME >", value, "CREATE_TIME");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME >=", value, "CREATE_TIME");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateTimeLessThan(Date value) {
            addCriterion("CREATE_TIME <", value, "CREATE_TIME");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME <=", value, "CREATE_TIME");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateTimeLike(Date value) {
            addCriterion("CREATE_TIME like ", value, "CREATE_TIME", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateTimeNotLike(Date value) {
            addCriterion("CREATE_TIME  not like ", value, "CREATE_TIME", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateTimeLeftLike(Date value) {
            addCriterion("CREATE_TIME like ", value, "CREATE_TIME", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateTimeNotLeftLike(Date value) {
            addCriterion("CREATE_TIME  not like ", value, "CREATE_TIME", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateTimeRightLike(Date value) {
            addCriterion("CREATE_TIME like ", value, "CREATE_TIME", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateTimeNotRightLike(Date value) {
            addCriterion("CREATE_TIME  not like ", value, "CREATE_TIME", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateTimeIn(List<Date> values) {
            addCriterion("CREATE_TIME  in ", values, "CREATE_TIME");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("CREATE_TIME not in ", values, "CREATE_TIME");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME between ", value1, value2, "CREATE_TIME");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME not between ", value1, value2, "CREATE_TIME");
            return (TsSyThirdCriteria) this;
        }
        public TsSyThirdCriteria andIsDelIsNull() {
            addCriterion("IS_DEL is null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsDelIsNotNull() {
            addCriterion("IS_DEL is not null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsDelEqualTo(String value) {
            addCriterion("IS_DEL =", value, "IS_DEL");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsDelNotEqualTo(String value) {
            addCriterion("IS_DEL <>", value, "IS_DEL");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsDelGreaterThan(String value) {
            addCriterion("IS_DEL >", value, "IS_DEL");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsDelGreaterThanOrEqualTo(String value) {
            addCriterion("IS_DEL >=", value, "IS_DEL");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsDelLessThan(String value) {
            addCriterion("IS_DEL <", value, "IS_DEL");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsDelLessThanOrEqualTo(String value) {
            addCriterion("IS_DEL <=", value, "IS_DEL");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsDelLike(String value) {
            addCriterion("IS_DEL like ", value, "IS_DEL", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsDelNotLike(String value) {
            addCriterion("IS_DEL  not like ", value, "IS_DEL", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsDelLeftLike(String value) {
            addCriterion("IS_DEL like ", value, "IS_DEL", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsDelNotLeftLike(String value) {
            addCriterion("IS_DEL  not like ", value, "IS_DEL", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsDelRightLike(String value) {
            addCriterion("IS_DEL like ", value, "IS_DEL", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsDelNotRightLike(String value) {
            addCriterion("IS_DEL  not like ", value, "IS_DEL", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsDelIn(List<String> values) {
            addCriterion("IS_DEL  in ", values, "IS_DEL");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsDelNotIn(List<String> values) {
            addCriterion("IS_DEL not in ", values, "IS_DEL");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsDelBetween(String value1, String value2) {
            addCriterion("IS_DEL between ", value1, value2, "IS_DEL");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsDelNotBetween(String value1, String value2) {
            addCriterion("IS_DEL not between ", value1, value2, "IS_DEL");
            return (TsSyThirdCriteria) this;
        }
        public TsSyThirdCriteria andUpdateByIsNull() {
            addCriterion("UPDATE_BY is null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateByIsNotNull() {
            addCriterion("UPDATE_BY is not null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateByEqualTo(String value) {
            addCriterion("UPDATE_BY =", value, "UPDATE_BY");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateByNotEqualTo(String value) {
            addCriterion("UPDATE_BY <>", value, "UPDATE_BY");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateByGreaterThan(String value) {
            addCriterion("UPDATE_BY >", value, "UPDATE_BY");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateByGreaterThanOrEqualTo(String value) {
            addCriterion("UPDATE_BY >=", value, "UPDATE_BY");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateByLessThan(String value) {
            addCriterion("UPDATE_BY <", value, "UPDATE_BY");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateByLessThanOrEqualTo(String value) {
            addCriterion("UPDATE_BY <=", value, "UPDATE_BY");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateByLike(String value) {
            addCriterion("UPDATE_BY like ", value, "UPDATE_BY", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateByNotLike(String value) {
            addCriterion("UPDATE_BY  not like ", value, "UPDATE_BY", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateByLeftLike(String value) {
            addCriterion("UPDATE_BY like ", value, "UPDATE_BY", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateByNotLeftLike(String value) {
            addCriterion("UPDATE_BY  not like ", value, "UPDATE_BY", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateByRightLike(String value) {
            addCriterion("UPDATE_BY like ", value, "UPDATE_BY", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateByNotRightLike(String value) {
            addCriterion("UPDATE_BY  not like ", value, "UPDATE_BY", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateByIn(List<String> values) {
            addCriterion("UPDATE_BY  in ", values, "UPDATE_BY");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateByNotIn(List<String> values) {
            addCriterion("UPDATE_BY not in ", values, "UPDATE_BY");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateByBetween(String value1, String value2) {
            addCriterion("UPDATE_BY between ", value1, value2, "UPDATE_BY");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateByNotBetween(String value1, String value2) {
            addCriterion("UPDATE_BY not between ", value1, value2, "UPDATE_BY");
            return (TsSyThirdCriteria) this;
        }
        public TsSyThirdCriteria andUpdateTimeIsNull() {
            addCriterion("UPDATE_TIME is null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateTimeIsNotNull() {
            addCriterion("UPDATE_TIME is not null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateTimeEqualTo(Date value) {
            addCriterion("UPDATE_TIME =", value, "UPDATE_TIME");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("UPDATE_TIME <>", value, "UPDATE_TIME");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("UPDATE_TIME >", value, "UPDATE_TIME");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME >=", value, "UPDATE_TIME");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateTimeLessThan(Date value) {
            addCriterion("UPDATE_TIME <", value, "UPDATE_TIME");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME <=", value, "UPDATE_TIME");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateTimeLike(Date value) {
            addCriterion("UPDATE_TIME like ", value, "UPDATE_TIME", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateTimeNotLike(Date value) {
            addCriterion("UPDATE_TIME  not like ", value, "UPDATE_TIME", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateTimeLeftLike(Date value) {
            addCriterion("UPDATE_TIME like ", value, "UPDATE_TIME", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateTimeNotLeftLike(Date value) {
            addCriterion("UPDATE_TIME  not like ", value, "UPDATE_TIME", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateTimeRightLike(Date value) {
            addCriterion("UPDATE_TIME like ", value, "UPDATE_TIME", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateTimeNotRightLike(Date value) {
            addCriterion("UPDATE_TIME  not like ", value, "UPDATE_TIME", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateTimeIn(List<Date> values) {
            addCriterion("UPDATE_TIME  in ", values, "UPDATE_TIME");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("UPDATE_TIME not in ", values, "UPDATE_TIME");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME between ", value1, value2, "UPDATE_TIME");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME not between ", value1, value2, "UPDATE_TIME");
            return (TsSyThirdCriteria) this;
        }
        public TsSyThirdCriteria andRemarkIsNull() {
            addCriterion("REMARK is null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andRemarkIsNotNull() {
            addCriterion("REMARK is not null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andRemarkEqualTo(String value) {
            addCriterion("REMARK =", value, "REMARK");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andRemarkNotEqualTo(String value) {
            addCriterion("REMARK <>", value, "REMARK");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andRemarkGreaterThan(String value) {
            addCriterion("REMARK >", value, "REMARK");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("REMARK >=", value, "REMARK");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andRemarkLessThan(String value) {
            addCriterion("REMARK <", value, "REMARK");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("REMARK <=", value, "REMARK");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andRemarkLike(String value) {
            addCriterion("REMARK like ", value, "REMARK", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andRemarkNotLike(String value) {
            addCriterion("REMARK  not like ", value, "REMARK", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andRemarkLeftLike(String value) {
            addCriterion("REMARK like ", value, "REMARK", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andRemarkNotLeftLike(String value) {
            addCriterion("REMARK  not like ", value, "REMARK", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andRemarkRightLike(String value) {
            addCriterion("REMARK like ", value, "REMARK", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andRemarkNotRightLike(String value) {
            addCriterion("REMARK  not like ", value, "REMARK", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andRemarkIn(List<String> values) {
            addCriterion("REMARK  in ", values, "REMARK");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andRemarkNotIn(List<String> values) {
            addCriterion("REMARK not in ", values, "REMARK");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andRemarkBetween(String value1, String value2) {
            addCriterion("REMARK between ", value1, value2, "REMARK");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("REMARK not between ", value1, value2, "REMARK");
            return (TsSyThirdCriteria) this;
        }
        public TsSyThirdCriteria andIsEnableIsNull() {
            addCriterion("IS_ENABLE is null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsEnableIsNotNull() {
            addCriterion("IS_ENABLE is not null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsEnableEqualTo(String value) {
            addCriterion("IS_ENABLE =", value, "IS_ENABLE");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsEnableNotEqualTo(String value) {
            addCriterion("IS_ENABLE <>", value, "IS_ENABLE");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsEnableGreaterThan(String value) {
            addCriterion("IS_ENABLE >", value, "IS_ENABLE");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsEnableGreaterThanOrEqualTo(String value) {
            addCriterion("IS_ENABLE >=", value, "IS_ENABLE");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsEnableLessThan(String value) {
            addCriterion("IS_ENABLE <", value, "IS_ENABLE");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsEnableLessThanOrEqualTo(String value) {
            addCriterion("IS_ENABLE <=", value, "IS_ENABLE");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsEnableLike(String value) {
            addCriterion("IS_ENABLE like ", value, "IS_ENABLE", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsEnableNotLike(String value) {
            addCriterion("IS_ENABLE  not like ", value, "IS_ENABLE", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsEnableLeftLike(String value) {
            addCriterion("IS_ENABLE like ", value, "IS_ENABLE", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsEnableNotLeftLike(String value) {
            addCriterion("IS_ENABLE  not like ", value, "IS_ENABLE", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsEnableRightLike(String value) {
            addCriterion("IS_ENABLE like ", value, "IS_ENABLE", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsEnableNotRightLike(String value) {
            addCriterion("IS_ENABLE  not like ", value, "IS_ENABLE", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsEnableIn(List<String> values) {
            addCriterion("IS_ENABLE  in ", values, "IS_ENABLE");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsEnableNotIn(List<String> values) {
            addCriterion("IS_ENABLE not in ", values, "IS_ENABLE");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsEnableBetween(String value1, String value2) {
            addCriterion("IS_ENABLE between ", value1, value2, "IS_ENABLE");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsEnableNotBetween(String value1, String value2) {
            addCriterion("IS_ENABLE not between ", value1, value2, "IS_ENABLE");
            return (TsSyThirdCriteria) this;
        }
        public TsSyThirdCriteria andIsPayConfigIsNull() {
            addCriterion("IS_PAY_CONFIG is null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsPayConfigIsNotNull() {
            addCriterion("IS_PAY_CONFIG is not null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsPayConfigEqualTo(String value) {
            addCriterion("IS_PAY_CONFIG =", value, "IS_PAY_CONFIG");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsPayConfigNotEqualTo(String value) {
            addCriterion("IS_PAY_CONFIG <>", value, "IS_PAY_CONFIG");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsPayConfigGreaterThan(String value) {
            addCriterion("IS_PAY_CONFIG >", value, "IS_PAY_CONFIG");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsPayConfigGreaterThanOrEqualTo(String value) {
            addCriterion("IS_PAY_CONFIG >=", value, "IS_PAY_CONFIG");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsPayConfigLessThan(String value) {
            addCriterion("IS_PAY_CONFIG <", value, "IS_PAY_CONFIG");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsPayConfigLessThanOrEqualTo(String value) {
            addCriterion("IS_PAY_CONFIG <=", value, "IS_PAY_CONFIG");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsPayConfigLike(String value) {
            addCriterion("IS_PAY_CONFIG like ", value, "IS_PAY_CONFIG", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsPayConfigNotLike(String value) {
            addCriterion("IS_PAY_CONFIG  not like ", value, "IS_PAY_CONFIG", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsPayConfigLeftLike(String value) {
            addCriterion("IS_PAY_CONFIG like ", value, "IS_PAY_CONFIG", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsPayConfigNotLeftLike(String value) {
            addCriterion("IS_PAY_CONFIG  not like ", value, "IS_PAY_CONFIG", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsPayConfigRightLike(String value) {
            addCriterion("IS_PAY_CONFIG like ", value, "IS_PAY_CONFIG", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsPayConfigNotRightLike(String value) {
            addCriterion("IS_PAY_CONFIG  not like ", value, "IS_PAY_CONFIG", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsPayConfigIn(List<String> values) {
            addCriterion("IS_PAY_CONFIG  in ", values, "IS_PAY_CONFIG");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsPayConfigNotIn(List<String> values) {
            addCriterion("IS_PAY_CONFIG not in ", values, "IS_PAY_CONFIG");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsPayConfigBetween(String value1, String value2) {
            addCriterion("IS_PAY_CONFIG between ", value1, value2, "IS_PAY_CONFIG");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andIsPayConfigNotBetween(String value1, String value2) {
            addCriterion("IS_PAY_CONFIG not between ", value1, value2, "IS_PAY_CONFIG");
            return (TsSyThirdCriteria) this;
        }
        public TsSyThirdCriteria andBackUrlIsNull() {
            addCriterion("BACK_URL is null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andBackUrlIsNotNull() {
            addCriterion("BACK_URL is not null");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andBackUrlEqualTo(String value) {
            addCriterion("BACK_URL =", value, "BACK_URL");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andBackUrlNotEqualTo(String value) {
            addCriterion("BACK_URL <>", value, "BACK_URL");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andBackUrlGreaterThan(String value) {
            addCriterion("BACK_URL >", value, "BACK_URL");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andBackUrlGreaterThanOrEqualTo(String value) {
            addCriterion("BACK_URL >=", value, "BACK_URL");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andBackUrlLessThan(String value) {
            addCriterion("BACK_URL <", value, "BACK_URL");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andBackUrlLessThanOrEqualTo(String value) {
            addCriterion("BACK_URL <=", value, "BACK_URL");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andBackUrlLike(String value) {
            addCriterion("BACK_URL like ", value, "BACK_URL", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andBackUrlNotLike(String value) {
            addCriterion("BACK_URL  not like ", value, "BACK_URL", 1);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andBackUrlLeftLike(String value) {
            addCriterion("BACK_URL like ", value, "BACK_URL", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andBackUrlNotLeftLike(String value) {
            addCriterion("BACK_URL  not like ", value, "BACK_URL", 0);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andBackUrlRightLike(String value) {
            addCriterion("BACK_URL like ", value, "BACK_URL", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andBackUrlNotRightLike(String value) {
            addCriterion("BACK_URL  not like ", value, "BACK_URL", 2);
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andBackUrlIn(List<String> values) {
            addCriterion("BACK_URL  in ", values, "BACK_URL");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andBackUrlNotIn(List<String> values) {
            addCriterion("BACK_URL not in ", values, "BACK_URL");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andBackUrlBetween(String value1, String value2) {
            addCriterion("BACK_URL between ", value1, value2, "BACK_URL");
            return (TsSyThirdCriteria) this;
        }

        public TsSyThirdCriteria andBackUrlNotBetween(String value1, String value2) {
            addCriterion("BACK_URL not between ", value1, value2, "BACK_URL");
            return (TsSyThirdCriteria) this;
        }

    }

    public static class TsSyThirdCriteria extends GeneratedCriteria {

        protected TsSyThirdCriteria() {
            super();
        }
    }

    public static class TsSyThirdCriterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected TsSyThirdCriterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }
        protected TsSyThirdCriterion(String condition, Object value, int likeType) {
            this.condition = condition;
            if (likeType == 0) {
                this.value = "%" + value;
            }
            else if (likeType == 1) {
                this.value = "%" + value + "%";
            }
            else {
                this.value = value + "%";
            }
            this.typeHandler = null;
            this.singleValue = true;

        }

        protected TsSyThirdCriterion(String condition, Object value,
                String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            }
            else {
                this.singleValue = true;
            }
        }

        protected TsSyThirdCriterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected TsSyThirdCriterion(String condition, Object value,
                Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected TsSyThirdCriterion(String condition, Object value,
                Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}